package com.qf.common;

import org.springframework.stereotype.Component;

/**
 * 天--道--酬--勤
 *
 * @author LiangGaoQiang
 * @ClassName AliyunOSSConstants
 * @Date: 2025/5/1 16:00
 * @Description: 描述
 */
@Component
public class AliyunOSSConstants {

    // OSS唯一key
    public static final String ASSCESS_KEY_ID = "LTAI5tKswxf6QWof8aZQhkfY";
    // OSS唯一key秘钥
    public static final String ASSCESS_KEY_SECRET = "LKUEi4uPnAu8hQBXxE2pLRDAh9kDnX";
    // 地域节点
    public static final String END_POINT = "oss-cn-hangzhou.aliyuncs.com";
    // Bucket名称
    public static final String BUCKET_NAME = "lgq-store";
    // 文件一级路径
    public static final String FILE_DIR = "app/upload";
    // 文件访问域名
    public static final String COMMON_URL = "https://lgq-store.oss-cn-hangzhou.aliyuncs.com/";
    // 设置上传成功后的公共图片访问地址，即只将图片的最后存储路径存储到数据库中
    public static final String PUBLIC_URL = "https://lgq-store.oss-cn-hangzhou.aliyuncs.com/app/upload/";

}
